Used to perform Integer division between two numbers.
Notes
Syntax
result=expression1 \ expression2
Part | Type | Description |
|---|---|---|
result |
Number |
The Integer division of expression1 and expression2. |
expression1 |
Number |
Any numeric expression. |
expression2 |
Number |
Any numeric expression. |
Use this operator when you require division that does not consider the decimal portion of the expressions.
You can use Operator_IntegerDivide to define the \ operator for classes.
Examples
This example stores the result of a division of two numbers in a variable:
See Also
/, Mod operators; Operator_IntegerDivide function.